package com.kkb.kkbauth.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * @description Oauth2获取令牌的Dto
 * @author syt
 */
@ApiModel(value = "Oauth2获取令牌的Dto")
@Data
@Builder
public class Oauth2AccessTokenDto {

    @ApiModelProperty(value = "访问令牌")
    private String token;

    @ApiModelProperty(value = "刷令牌")
    private String refreshToken;

    @ApiModelProperty(value = "访问令牌的前缀")
    private String tokenHead;

    @ApiModelProperty(value = "令牌的有效时间")
    private Integer expiresIn;
}
